package com.scs.application.modules.finance.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 */
@Data
@Accessors(chain = true)
@TableName("finance_billitem_to_hrp")
public class BillitemToHrp extends DataEntity {


    // id ,在父类中处理

            @EntityFieldAnnotation(
            text = "外键",
                        length = "200",
            not_null = true,
            default_value = "",
            comment = ""
    )
                private String refId;

            @EntityFieldAnnotation(
            text = "耗材ID",
                        length = "200",
            not_null = true,
            default_value = "",
            comment = ""
    )
                private String matrId;

            @EntityFieldAnnotation(
            text = "sn",
                        length = "30.0",
            not_null = false,
            default_value = "",
            comment = ""
    )
            private String sn;

            @EntityFieldAnnotation(
            text = "批次",
                        length = "30.0",
            not_null = true,
            default_value = "",
            comment = ""
    )
            private String lot;

            @EntityFieldAnnotation(
            text = "效期",
                        length = "30.0",
            not_null = true,
            default_value = "",
            comment = ""
    )
            private String expDate;

            @EntityFieldAnnotation(
            text = "单价",
                        length = "0.0",
            not_null = true,
            default_value = "",
            comment = ""
    )
            private Double skuPrice;

            @EntityFieldAnnotation(
            text = "数量",
                        length = "0.0",
            not_null = false,
            default_value = "",
            comment = ""
    )
            private Double skuQty;

            @EntityFieldAnnotation(
            text = "总金额",
                        length = "0.0",
            not_null = false,
            default_value = "",
            comment = ""
    )
            private Double amount;


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

    }
